package com.firefightingiot.firefightingiot.web.mapper;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.firefightingiot.firefightingiot.model.ItemSetup;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ItemSetupMapper extends BaseMapper<ItemSetup> {

    /**
     * 检测项查询
     *
     * @return
     */
    List<ItemSetup> getItemSetupList(JSONObject jsonObject);

    /**
     * 检测项批量插入
     *
     * @param list
     */
    void insertZB(List<ItemSetup> list);

}
